/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "../引擎.h"




class C_键位映射配置 {
public:
	C_键位映射配置();

	static std::map<S_键位映射*, S_Props> g_全局键位映射容器;
	static std::map<S_键位映射*, S_Props> g_3D视口键位映射容器;
	static std::map<S_键位映射*, S_Props> g_2D视口键位映射容器;
	static std::map<S_键位映射*, S_Props> g_节点视口键位映射容器;

	static void f_添加全局操作键位(S_键位映射* key, std::wstring name);
	static void f_添加3D视口操作键位(S_键位映射* key, std::wstring name);
	static void f_添加2D视口操作键位(S_键位映射* key, std::wstring name);
	static void f_添加节点视口操作键位(S_键位映射* key, std::wstring name);

};
//void on_文件菜单项(C_Widget* self, const std::wstring name, uint16 id);


void f_配置_添加操作键位(S_键位映射* key, uint32 分组 = 0);

//void f_配置_添加3D视口操作键位(S_键位映射* key, uint32 分组 = 0);

S_键位映射* f_配置_取操作键位(uint32 分组 = 0);


